package initial;

import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;

public class Init {
    public static WebDriver webDriver;
    @BeforeAll
    static void setUp(){
        ChromeOptions options = new ChromeOptions();
        options.addArguments("--remote-allow-origins=*");
        webDriver =new ChromeDriver();
    }
    @AfterAll
     static void tearDown(){
        webDriver.quit();
    }
}
